negotiator.boaframework.opponentmodel
Class ParallelOM

java.lang.Object
  extended by negotiator.boaframework.OpponentModel
      extended by negotiator.boaframework.opponentmodel.ParallelOM

public class ParallelOM
extends OpponentModel


Field Summary
 
Fields inherited from class negotiator.boaframework.OpponentModel
negotiationSession, opponentUtilitySpace
 
Constructor Summary
ParallelOM()
           
 
Method Summary
 double getBidEvaluation(Bid bid)
          Determines the utility of a bid according to the preference profile.
 void init(NegotiationSession negotiationSession, java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          Initializes the model.
 void setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
          Code needed to acquire opponnent's preference profile.
 void updateModel(Bid bid, double time)
          Method used to update the opponent model.
 
Methods inherited from class negotiator.boaframework.OpponentModel
cleanUp, endSession, getIssueWeights, getName, getOpponentUtilitySpace, getWeight, init, isCleared, loadData, setOpponentUtilitySpace, storeData, updateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelOM

public ParallelOM()
Method Detail

init

public void init(NegotiationSession negotiationSession,
                 java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          throws java.lang.Exception
Description copied from class: OpponentModel
Initializes the model. The init method should always be called after creating an opponent model.

Overrides:
init in class OpponentModel
Parameters:
negotiationSession - reference to the state of the negotiation
Throws:
java.lang.Exception

setOpponentUtilitySpace

public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
Code needed to acquire opponnent's preference profile.

Overrides:
setOpponentUtilitySpace in class OpponentModel

updateModel

public void updateModel(Bid bid,
                        double time)
Description copied from class: OpponentModel
Method used to update the opponent model.

Specified by:
updateModel in class OpponentModel
Parameters:
bid - to update the model with.
time - at which the bid was offered.

getBidEvaluation

public double getBidEvaluation(Bid bid)
Description copied from class: OpponentModel
Determines the utility of a bid according to the preference profile.

Overrides:
getBidEvaluation in class OpponentModel
Parameters:
bid - of which the utility is calculated.
Returns:
Utility of the bid